home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 201-225 / 201 / draco / drinc / intuition / preferences.g < prev    next >
Text File  |  1995-03-13  |  3KB  |  132 lines

  1. uint
  2. „FILENAME_SIZE=30,
  3. „POINTERSIZE=(1+16+1)*2;
  4.  
  5. ushort
  6. „TOPAZ_EIGHTY=8,
  7. „TOPAZ_SIXTY=9;
  8.  
  9. type
  10. „timeval_t=unknown8,
  11.  
  12. „Preferences_t=struct{
  13. ˆushortpr_FontHeight;
  14. ˆushortpr_PrinterPort;
  15. ˆuintpr_BaudRate;
  16. ˆtimeval_tpr_KeyRptSpeed,pr_KeyRptDelay,pr_DoubleClick;
  17. ˆ[POINTERSIZE]uintpr_PointerMatrix;
  18. ˆushortpr_XOffset,pr_YOffset;
  19. ˆuintpr_color17,pr_color18,pr_color19;
  20. ˆuintpr_PointerTicks;
  21. ˆuintpr_color0,pr_color1,pr_color2,pr_color3;
  22. ˆushortpr_ViewXOffset,pr_ViewYOffset;
  23. ˆuintpr_ViewInitX,ViewInitY;
  24. ˆuintpr_EnableCLI;
  25. ˆuintpr_PrinterType;
  26. ˆ[FILENAME_SIZE]charpr_PrinterFileName;
  27. ˆuintpr_PrintPitch;
  28. ˆuintpr_PrintQuality;
  29. ˆuintpr_PrintSpacing;
  30. ˆuintpr_PrintLeftMargin;
  31. ˆuintpr_PrintRightMargin;
  32. ˆuintpr_PrintImage;
  33. ˆuintpr_PrintAspect;
  34. ˆintpr_PrintThreshold;
  35. ˆuintpr_PaperSize;
  36. ˆuintpr_PaperLength;
  37. ˆuintpr_PaperType;
  38. ˆushortpr_SerRWBits;
  39. ˆushortpr_SerStopBuf;
  40. ˆushortpr_SerParShk;
  41. ˆushortpr_LaceWB;
  42. ˆ[FILENAME_SIZE]charpr_WorkName;
  43. ˆ[16]bytepr_padding;
  44. „};
  45.  
  46. ushort
  47. „LACEWBŠ=0x01,
  48.  
  49. „PARALLEL_PRINTER=0x00,
  50. „SERIAL_PRINTER‚=0x01,
  51.  
  52. „BAUD_110ˆ=0x00,
  53. „BAUD_300ˆ=0x01,
  54. „BAUD_1200‡=0x02,
  55. „BAUD_2400‡=0x03,
  56. „BAUD_4800‡=0x04,
  57. „BAUD_9600‡=0x05,
  58. „BAUD_19200†=0x06,
  59. „BAUD_MIDI‡=0x07,
  60.  
  61. „FANFOLD‰=0x00,
  62. „SINGLEŠ=0x80;
  63.  
  64. uint
  65. „PICAŒ=0x0000,
  66. „ELITE‹=0x0400,
  67. „FINEŒ=0x0800,
  68.  
  69. „DRAFT‹=0x0000,
  70. „LETTERŠ=0x0100,
  71.  
  72. „SIX_LPI‰=0x0000,
  73. „EIGHT_LPI‡=0x0200,
  74.  
  75. „IMAGE_POSITIVE‚=0x0000,
  76. „IMAGE_NEGATIVE‚=0x0001,
  77.  
  78. „ASPECT_HORIZ„=0x0000,
  79. „ASPECT_VERT…=0x0001,
  80.  
  81. „SHADE_BWˆ=0x0000,
  82. „SHADE_GREYSCALE=0x0001,
  83. „SHADE_COLOR…=0x0002,
  84.  
  85. „US_LETTER‡=0x0000,
  86. „US_LEGALˆ=0x0010,
  87. „N_TRACTOR‡=0x0020,
  88. „W_TRACTOR‡=0x0030,
  89. „CUSTOMŠ=0x0040,
  90.  
  91. „CUSTOM_NAME…=0x0000,
  92. „ALPHA_P_101…=0x0001,
  93. „BROTHER_15XL„=0x0002,
  94. „CBM_MPS1000…=0x0003,
  95. „DIAB_630ˆ=0x0004,
  96. „DIAB_ADB_D25„=0x0005,
  97. „DIAB_C_150†=0x0006,
  98. „EPSON‹=0x0007,
  99. „EPSON_JX_80…=0x0008,
  100. „OKIMATE_20†=0x0009,
  101. „QUME_LP_20†=0x000A,
  102. „HP_LASERJET…=0x000B,
  103. „HP_LASERJET_PLUS=0x000C;
  104.  
  105. ushort
  106. „SREAD_BITS†=0xF0,
  107. „SWRITE_BITS…=0x0F,
  108.  
  109. „SSTOP_BITS†=0xF0,
  110. „SBUFSIZE_BITSƒ=0x0F,
  111.  
  112. „SPARITY_BITS„=0xF0,
  113. „SHSHAKE_BITS„=0x0F,
  114.  
  115. „SPARITY_NONE„=0,
  116. „SPARITY_EVEN„=1,
  117. „SPARITY_ODD…=2,
  118.  
  119. „SHSHAKE_XON…=0,
  120. „SHSHAKE_RTS…=1,
  121. „SHSHAKE_NONE„=2;
  122.  
  123. extern
  124. „GetDefPrefs(*Preferences_tpref;ulongsize)*Preferences_t,
  125. „GetPrefs(*Preferences_tpref;ulongsize)*Preferences_t,
  126. „SetPrefs(*Preferences_tpref;ulongsize;ulonginform)void,
  127. „SRBNUM(ushortn)ushort,
  128. „SWBNUM(ushortn)ushort,
  129. „SSBNUM(ushortn)ushort,
  130. „SPARNUM(ushortn)ushort,
  131. „SHAKNUM(ushortn)ushort;
  132.